<%= use_minimal_tiny_mce %>

<%= tabs(["Main","Security"]) %>

<div id="main_tab_content" class="tab_content">
	<h3>By default, a new message is public. To restrict access, go the Security tab.</h3>
	<p>
		<b>Name</b><br />
		<%= message_name_value %>
	</p>
	<p>
		<b>Body</b><br />
		<%= message_body_value %>
	</p>
	<p>
		<b>Expires on</b><br />
		<%= message_expires_on_value %>
	</p>
 </div>

<div id="security_tab_content" class="tab_content" style="display: none;">
	<h3>Grant access to the following groups.  If no groups are selected, the message is public.</h3>
	<% # = content_security_value @message  %>
</div>
